x11: Implement popup surfaces
authorMatthias Clasen <mclasen@redhat.com>
Mon, 22 Apr 2019 15:22:33 +0000 (15:22 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 28 May 2019 20:25:14 +0000 (20:25 +0000)
commit6f1c32b3eb8d6beadab1df0aa923b8f8b78354c0
tree3c70bfb8130863a16d9b8013737d445957882cae
parent99783c7fb73e3d5179ffa886d8abd671f6e72546
x11: Implement popup surfaces

Make them use o-r windows, and move
with their parent.

We do a sort-of ok job on stacking order
here - whenever the parent window gets a
ConfigureNotify, we just restack all popups
directly on top of their parent. This is good
enough to keep popups on top of their parent
while we drag it around, and it gets the popup
to disappear when raising another window on
top of the parent.
gdk/x11/gdkdisplay-x11.c
gdk/x11/gdkprivate-x11.h
gdk/x11/gdksurface-x11.c
gdk/x11/gdksurface-x11.h